package com.example.dameng.mapper;

import com.example.dameng.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SubMapper {

    List<T_community> getStreet(@Param("adminCode") int adminCode);
    List<StreetList> getStreetList(@Param("adminCode") int adminCode);

    Double getSupplyNum(@Param("date")String date,@Param("communityCode") int communityCode);

    int setSupplyStatus(@Param("supplyStatus") T_supplystatus supplyStatus);
    SubReport getMonthReport(@Param("month") String month, @Param("communityName") String communityName);
}
